
const table = {
  fetchSetting: {
    // The field name of the current page passed to the background
    pageField: 'page',
    // The number field name of each page displayed in the background
    sizeField: 'limit',
    // Field name of the form data returned by the interface
    listField: 'data',
    // Total number of tables returned by the interface field name
    totalField: 'total',
  },
  pagination: {
    // Number of pages that can be selected
    pageSizes: [10, 50, 80, 100],
    // Default display quantity on one page
    pageSize: 10,
    // Default page number
    page: 1,
    // Default layout
    layout: 'total, sizes, prev, pager, next, jumper',
  },
  // Default Size
  defaultSize: 'middle',
};
export const PAGE_SIZE = table.pagination.pageSize;
export const PAGE_SIZES = table.pagination.pageSizes;
export const LAYOUT = table.pagination.layout;
export const FETCH_SETTING = table.fetchSetting;

export const ROW_KEY = '_key';
